<{include file="common/header.tpl"}>
<link rel="stylesheet" href="<{$smarty.const._CDN_}>/resource/wei/css/style.css?<{$versionCode}>">
<style>
.btns { margin: 2em 1em; }
.btns a { padding: 6px 20px; background-color: #01d093; border: 1px solid green; color: #eee; }
.orderBox { padding: 1em; }
</style>

<div class="btns"><a href="javascript:history.go(-1)">返回上一页</a></div>

<div class="orderBox">
<div class="order-detail-header">
    <div class="left"><img class="img" src="<{$tuan.goods.thumbsrc}>"></div>
    <div class="right">
            <p class="line"><{$tuan.goods.name}></p>
            <p class="line"><{$tuan.goods.attr.desc}></p>
            <p class="line"><{$tuan.goods.tuanPrice}></p>
    </div>
</div>

<div class="order-detail-xijie" style="height: auto;">

   <p class="line">团购信息 </p>
   <p class="line">团购规模: 需要 <{$tuan.tuanPersons}> 人 / 实际 <{$tuan.realPersons}>人 / 还需 <{$tuan.wantPersons}>人</span></p>
   <p class="line">开团团长: <a href="/admin/order/user/<{$tuan.tuanMasterUid}>"><{$tuan.tuanMasterName}></a></p>
   <p class="line">开团时间: <{"Y-m-d H:i:s"|date:$tuan.startTime}></p>
   <p class="line">结束时间: <{"Y-m-d H:i:s"|date:$tuan.stopTime}></p>
   <p class="line">团购状态: <{$tuan.tuanStatusName}></p>
</div>

<{foreach from=$tuan.orders item="order"}>
<div class="order-detail-xijie">

   <p class="line">下单时间: <{"Y-m-d H:i:s"|@date:$order.created}></p>
   <p class="line">订单编号: <{$order.orderNo}></p>
   <p class="line">订单金额: <span class="red">￥<{$order.moneyTotal/100|number_format:2}></span><span class="gray"> &nbsp; &nbsp;(含运费: ￥<{$order.moneyDeliver/100|number_format:2}>)</span></p>
   <p class="line">余额抵扣: <span class="red">￥<{$order.moneyCoin/100|number_format:2}></span></p>
   <p class="line">订单状态: <{$order.statusName}></p>
</div>
<{/foreach}>


</div>

<div class="btns"><a href="javascript:history.go(-1)">返回上一页</a></div>


<{include file="common/footer.tpl"}>
